package com.xd.clap.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
public class Orders {
    @TableId(value = "id" ,type = IdType.AUTO)
    private Integer id;
    @ExcelProperty("用户id")
    private String phone;
    @ExcelProperty("下单时间")
    private Date createTime;
    @ExcelProperty("订单状态 1. 备货中  2. 待领取  3. 已完成 4. 订单取消 5.订单删除")
    private Integer state;
    @ExcelProperty("商品总价")
    private Integer total;
    @ExcelProperty("订单号")
    private String orderId;
}
